package com.xukai.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping({"/","/index", "/templates/index.html"})
    public String index(){

        return "index.html";
    }
}
